import { reqsecklist } from "../../request/api";
const state ={
    list:[],
}
const getters ={
    list(state){
        return state.list
    }
}
const mutations ={
    changeSeck(state,list){
        state.list=list
    }
}
const actions = {
    reqseck(context){
        reqsecklist().then(res=>{
            context.commit('changeSeck',res.data.list)
        })
    }
}
export default{
    state,
    mutations,
    actions,
    getters,
    namespaced:true,
}